<?php if (!defined('THINK_PATH')) exit(); /*a:5:{s:68:"F:\PHPwork\w_blog\public/../application/home/view/article/index.html";i:1503455139;s:68:"F:\PHPwork\w_blog\public/../application/home/view/Public/header.html";i:1505110179;s:65:"F:\PHPwork\w_blog\public/../application/home/view/Public/tou.html";i:1501213796;s:66:"F:\PHPwork\w_blog\public/../application/home/view/Public/left.html";i:1500533535;s:67:"F:\PHPwork\w_blog\public/../application/home/view/Public/right.html";i:1499241368;}*/ ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="even">
    <meta name="keyword" content="thinkphp,php,node,linux">
    <title>Even 博客</title>
    <link href="__STATIC__/css/bootstrap.css" rel="stylesheet">
    <link href="__STATIC__/css/article.css" rel="stylesheet">
    <link href="__STATIC__/css/page.css" rel="stylesheet">
    <link href="__STATIC__/css/font-awesome.css" rel="stylesheet" type="text/css">
    <script src="__STATIC__/js/lib/jquery/1.9.1/jquery.js"></script>
</head>
<body style="background-color: #f0f0f0">

<link href="__STATIC__/css/header.css" rel="stylesheet">
<script type="application/javascript" src="__STATIC__/js/article/header.js"></script>
<script type="application/javascript" src="__STATIC__/js/lib/layer/2.4/layer.js"></script>
<script>
    var _hmt = _hmt || [];
    (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?c669a4b5b6e9fd202efb4f13f1060125";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
    })();
    //路由地址
    var loginUrl="<?php echo url("/login"); ?>";
    var registerUrl="<?php echo url("/register"); ?>";
</script>

<div style="background-color: rgb(96, 168, 156);">
    <div class="top_div clearfix">
        <div class="top_div_icon">
            <span><a href="<?php echo url('/index'); ?>">Welcome to    Even Blog</a></span>
        </div>
        <div class="top_div_column">
            <ul>
                <?php if(is_array($columnList) || $columnList instanceof \think\Collection || $columnList instanceof \think\Paginator): if( count($columnList)==0 ) : echo "" ;else: foreach($columnList as $key=>$list): ?>
                    <li class="top_li"><a href="<?php echo $list['column_url']; ?>"><?php echo $list['column_name']; ?></a></li>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
        <div class="search">
            <input type="hidden" value="<?php echo url('/search'); ?>" id="search_url">
            <input placeholder="标题、标签" id="search">
            <input type="button" value="搜索" style="outline: none"  class="button">
        </div>
        <?php if($bloguser != ''): ?>
            <div  class="login">
                <a><?php echo $bloguser['nick_name']; ?></a>
                <a style="color: #ffffff;">|</a>
                <a href="<?php echo url('/loginout'); ?>">退出</a>
                <span  onclick="uploadImg()"><img src="<?php echo $bloguser['user_img']; ?>" ></span>
            </div>
            <?php else: ?>
                <div class="login">
                    <a href="javascript:login()">登录</a>
                    <a style="color: #ffffff;">|</a>
                    <a href="javascript:register()">注册</a>
                </div>
        <?php endif; ?>
    </div>
</div>
    <link rel="stylesheet" href="__STATIC__/css/wcy.css">
    <link rel="stylesheet" href="__STATIC__/css/amazeui.cropper.css">
    <link rel="stylesheet" href="__STATIC__/css/custom_up_img.css">
    <link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
    <style type="text/css">
        .up-img-cover {width: 100px;height: 100px;}
        .up-img-cover img{width: 100%;}
        .up-img-txt label{font-weight: 100;margin-top: 50px;}
    </style>
    <script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script>
    <script src="https://cdn.bootcss.com/amazeui/2.7.2/js/amazeui.min.js" charset="utf-8"></script>
    <script src="__STATIC__/js/article/custom_up_img.js"></script>
    <script src="__STATIC__/js/article/cropper.min.js"></script>
    <!--图片上传框-->
    <div class="am-modal am-modal-no-btn up-modal-frame" tabindex="-1" id="up-modal-frame">
        <div class="am-modal-dialog up-frame-parent up-frame-radius">
            <div class="am-modal-hd up-frame-header">
                <label>修改头像</label>
                <a href="javascript: void(0)" class="am-close am-close-spin" data-am-modal-close>&times;</a>
            </div>
            <div class="am-modal-bd  up-frame-body">
                <div class="am-g am-fl">
                    <div class="am-form-group am-form-file">
                        <div class="am-fl">
                            <button type="button" class="am-btn am-btn-default am-btn-sm">
                                <i class="am-icon-cloud-upload"></i> 选择要上传的文件</button>
                        </div>
                        <input type="file" class="up-img-file" name="uploadimg">
                    </div>
                </div>
                <div class="am-g am-fl">
                    <div class="up-pre-before up-frame-radius">
                        <img alt="" src="" class="up-img-show" id="up-img-show" >
                    </div>
                    <div class="up-pre-after up-frame-radius">
                    </div>
                </div>
                <div class="am-g am-fl">
                    <div class="up-control-btns">
                        <span class="am-icon-rotate-left"   id="up-btn-left"></span>
                        <span class="am-icon-rotate-right"  id="up-btn-right"></span>
    				<span class="am-icon-check up-btn-ok" url="<?php echo url('/uploadimg'); ?>"
                          parameter="{width:'100',height:'100'}">
    				</span>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--加载框-->
    <div class="am-modal am-modal-loading am-modal-no-btn" tabindex="-1" id="up-modal-loading">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">正在上传...</div>
            <div class="am-modal-bd">
                <span class="am-icon-spinner am-icon-spin"></span>
            </div>
        </div>
    </div>

    <!--警告框-->
    <div class="am-modal am-modal-alert" tabindex="-1" id="up-modal-alert">
        <div class="am-modal-dialog">
            <div class="am-modal-hd">信息</div>
            <div class="am-modal-bd"  id="alert_content">
                成功了
            </div>
            <div class="am-modal-footer">
                <span class="am-modal-btn">确定</span>
            </div>
        </div>
    </div>

<div class="article_content clearfix">
    <div style="width: 1250px;margin: 0 auto;">
    <!--文章左边-->
    <div class="article_left">
    <div class="article_left_top">
        <span class="article_left_low_span">个人资料</span>
        <div class="article_left_ziliao">
            <ul>
                <li><img style="width: 80px;height: 80px;" src="__STATIC__/img/touxiang2.jpg"></li>
                <li>博客名称：Even Blog</li>
                <li>职业：PHP程序员</li>
                <li>文章数：<?php echo $count; ?></li>
                <li>访问次数：<?php echo $accessNum; ?>次</li>
            </ul>
        </div>
    </div>
    <div class="article_left_zj">
        <span class="article_left_lable_span">标签</span>
        <div class="articlr_left_lable_content">
            <ul class="article_n_ul clearfix">
                <?php if(is_array($labelList) || $labelList instanceof \think\Collection || $labelList instanceof \think\Paginator): if( count($labelList)==0 ) : echo "" ;else: foreach($labelList as $key=>$list): ?>
                    <li class="article_li">
                        <a class="article_li_span" href="<?php echo url('/labelArticle/'.$list['label_name']); ?>"><?php echo $list['label_name']; ?></a>
                    </li>
                <?php endforeach; endif; else: echo "" ;endif; ?>
            </ul>
        </div>
    </div>
    <div class="article_left_low">
        <span class="article_left_lable_span">最新评论</span>
        <?php if(is_array($comment) || $comment instanceof \think\Collection || $comment instanceof \think\Paginator): if( count($comment)==0 ) : echo "" ;else: foreach($comment as $key=>$data): ?>
            <div class="article_left_low_c">
                <p class="article_left_low_p clearfix">
                    <a class="article_left_low_a"><img class="article_left_img" src="<?php echo $data['user_img']; ?>"></a>
                        <a class="article_left_a"  href="<?php echo url('/detailed/'.$data['article_id']); ?>" target="_blank"><?php echo $data['user_name']; ?>:<?php echo $data['content']; ?></a>
                    <span class="article_left_span">评论时间：[<?php echo $data['add_time']; ?>]</span>
                </p>
            </div>
        <?php endforeach; endif; else: echo "" ;endif; ?>
    </div>
</div>
    <!--文章中间-->
    <div class="article_right">
        <div class="article_now"><span>最新文章</span></div>
        <div class="article_wz">
            <?php if(is_array($nowArticle) || $nowArticle instanceof \think\Collection || $nowArticle instanceof \think\Paginator): if( count($nowArticle)==0 ) : echo "" ;else: foreach($nowArticle as $key=>$data): ?>
            <div class="article_r clearfix">
                <div class="article_r_t clearfix">
                    <p style="display:table-row;overflow: hidden">
                        <i class="article_r_t_i"><a  href="javascript:void()"><?php echo $data['type_name']; ?></a></i>
                        <span style="color: #000000;float: left;margin-top: 5px;font-size: 14px;">[
                            <?php if($data['is_yuan'] == 1): ?>
                                原
                                <?php else: ?>
                                转
                            <?php endif; ?>
                            ]</span>
                        <a class="article_title" href="<?php echo url('/detailed/'.$data['id']); ?>" target="_blank"><?php echo $data['title']; ?></a>
                        <i class="article_title_i">[<?php echo $data['add_time']; ?>]</i>
                    </p>
                    <div class="article_con"><a href="<?php echo url('/detailed/'.$data['id']); ?>" target="_blank"><?php echo $data['introduction']; ?>... ...</a></div>
                    <div class="article_dz">
                        <span class="article_span"><i class="article_sp_dz"></i><?php echo $data['dz_number']; ?></span>
                        <span class="article_span"><i class="article_sp_yd"></i><?php echo $data['yd_number']; ?></span>
                    </div>
                </div>
            </div>
            <?php endforeach; endif; else: echo "" ;endif; if($page != ''): ?>
                <div class="page">
                    <?php echo $page; ?>
                </div>
            <?php endif; ?>

        </div>
    </div>
    <!--文章右边-->
    <div class="article_right_s">
    <div style="border: 1px solid #dddddd;border-bottom: 0px;">
        <div class="article_n"><span>热门文章</span></div>
        <div style="background-color: #ffffff;">
            <?php if(is_array($hotarticle) || $hotarticle instanceof \think\Collection || $hotarticle instanceof \think\Paginator): if( count($hotarticle)==0 ) : echo "" ;else: foreach($hotarticle as $key=>$data): ?>
            <div class="article_hot">
                <span><a class="article_hot_a" href="<?php echo url('/detailed/'.$data['id']); ?>" target="_blank"><?php echo $data['title']; ?></a></span>
            </div>
            <?php endforeach; endif; else: echo "" ;endif; ?>
        </div>
    </div>

    <div class="qq">
        <span class="qq_span">学习交流</span>
        <div class="qq_div">
            <span style="">QQ群：337076132（欢迎加入）</span>
            <img src="__STATIC__/img/qq.jpg" style="width: 260px;">
        </div>
    </div>
</div>
    </div>
</div>

<div class="article_low">
    <div class="copyright">
    Copyright ©2015-2017 It Bolg v1.0 All Rights Reserved.<a href="">Even Blog</a>
    <span style="padding:0 10px;">
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1262995188'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D1262995188%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script>
    </span>
    <span style="padding:0 10px;">QQ交流群：337076132</span>
    <a href="http://www.miitbeian.gov.cn/" rel="external nofollow" target="_blank"> 鄂ICP备17013628号-1</a>
    </div>
</div>

</body>
</html>

